P.Mod.pop_module_loader = function (dom,options) {
	this.moduleLoader = dom.Widget("ModuleLoader");
	this.dialog =  dom.Widget("Dialog");
    var _this = this;
    dom.bind("changeModule", function (e, id) {
        _this.dialog.open();
    });
};
$('#pop_module_loader').Module();